package gr.atc.epart;

import gr.atc.epart.SurveyQuestion.QuestionType;

public class SurveyYesNoQuestion extends SurveyQuestion
{
	private String _questionText;
	private SurveyLinkToModerator _linkToModerator;
	private int _yesVotes;
	private int _noVotes;
	
	public SurveyYesNoQuestion(String questionText,SurveyLinkToModerator linkToModerator)
	{
		super(SurveyQuestion.QuestionType.YesNo);
		_questionText = questionText;
		_linkToModerator = linkToModerator;
	}
	
	public String getQuestionText()
	{
		return _questionText;
	}
	
	public SurveyLinkToModerator getLinktoModerator()
	{
		return _linkToModerator;
	}

	public void setYesVotesNumber(int yesVotes)
	{
		_yesVotes = yesVotes; 		
	}

	public int getYesVotesNumber()
	{
		return _yesVotes; 		
	}

	public void setNoVotesNumber(int noVotes)
	{
		_noVotes = noVotes;
	}

	public int getNoVotesNumber()
	{
		return _noVotes;
	}

}
